package com.yykj.tencent.im.client.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class QueryMsgDto {
    private Integer id;

    @ApiModelProperty("群组 ID")
    private String groupId;

    @ApiModelProperty("群组类型")
    private String groupType;

    @ApiModelProperty("发送者")
    private String fromAccount;

    @ApiModelProperty("发送者")
    private String toAccount;

    @ApiModelProperty("请求的发起者")
    private String operatorAccount;

    @ApiModelProperty("发送者名字")
    private String fromAccountName;

    @ApiModelProperty("发送者头像")
    private String fromAccountAvatar;

    @ApiModelProperty("接收者名字")
    private String toAccountName;

    @ApiModelProperty("接收者头像")
    private String toAccountAvatar;

    @ApiModelProperty("请求的发起者名字")
    private String operatorAccountName;

    @ApiModelProperty("请求的发起者头像")
    private String operatorAccountAvatar;

    @ApiModelProperty("消息的序列号")
    private String msgSeq;

    @ApiModelProperty("消息的MsgKey")
    private String msgKey;

    @ApiModelProperty("消息的时间")
    private int msgTime;

    @ApiModelProperty("消息内容--原始json")
    private String msgBody;

    @ApiModelProperty("文本消息就是内容,文件消息就是 filename,方便搜索")
    private String content;

    @ApiModelProperty("消息类型 0:全部,1:文本消息,2:图片,3: 音频,4:视频, 5:文件")
    private Integer msgType;

    @ApiModelProperty("元素大小")
    private String size;

    @ApiModelProperty("视频/语音/图片/文件下载地址")
    private String url;

    @ApiModelProperty("音视频长度")
    private String second;

    @ApiModelProperty("缩略图下载地址")
    private String thumbnailImageUrl;
}
